CC = gcc

all: Serv Clie

Serv: Serv.o
	$(CC) -o Serv Serv.o -lrt -lpthread

Serv.o: Serv.c
	$(CC) -c Serv.c
	
Clie: Clie.o
	$(CC) -o Clie Clie.o -lrt -lpthread

Clie.o: Clie.c
	$(CC) -c Clie.c
	
clean:
	rm *.o Serv Clie
